package com.youshang520i.learningmysqlcanal.dao;

import com.youshang520i.learningmysqlcanal.model.Goods;
import org.springframework.stereotype.Component;

/**
 * @author youshang
 */
@Component
public interface GoodsMapper {
    int deleteByPrimaryKey(String goodsId);

    int insert(Goods record);

    int insertSelective(Goods record);

    Goods selectByPrimaryKey(String goodsId);

    int updateByPrimaryKeySelective(Goods record);

    int updateByPrimaryKey(Goods record);
}